#ifndef RAWREADER_H_
#define RAWREADER_H_

#include "MCVector.h"
#include "MarchingCubes.h"
#include <iostream>
#include <fstream>
#include <vector>
#pragma comment (lib, "comctl32.lib")
#include <CommCtrl.h>

using namespace std;

class RAWReader
{
public:
 MCVector*  ReadRawFile(string filename, 
								int &cellH, 
								int &cellW, 
								int &cellF,
								float threshold1, 
								float threshold2);
 MCVector* ReadRawFileWithProgress(HWND hwndParent, 
							HINSTANCE g_hinst, 
							string filename, 
							int &cellH, 
							int &cellW, 
							int &cellF,
							float threshold1,
							float threshold2);
 unsigned short* mVoxels;
 int W;
 int H;
 int F;
};
#endif